﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.models.kiosk {
    import org.robotlegs.mvcs.*;

    public class KioskModel extends Actor {

        private var _productList:Array;

        public function get productList():Array{
            return (this._productList);
        }
        public function set productList(_arg1:Array):void{
            this._productList = _arg1;
        }
        public function getCategory(_arg1:String):String{
            var _local2:String;
            var _local3:Object;
            for each (_local3 in this.productList) {
                if (_local3.type == _arg1){
                    return (_local3.category);
                };
            };
            return (_local2);
        }

    }
}//package net.wooga.pets.models.kiosk 
